<?php

namespace module\admin\model;

use style\lib\Task_Ctlr;

/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/1/4
 * Time: 11:11
 */
class IndexModel extends Task_Ctlr
{
  function get_get()
  {
    $list = $this->db()->createCommand("select * from {{%category}} WHERE  cid=1 limit 1")->queryOne();
    $this->_return($list);
  }

}